home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,801 to 2,900 / aol-file-protocol-4400-2801-to-2900.zip / AOLDLs / C++ Files Library / Linked List Template Classes / Linked Lists Ä.sit / Linked Lists ƒ / LinkedLists Read Me < prev    next >
Text File  |  1995-03-03  |  2KB  |  12 lines

  1. Linked List Classes, release 1.0
  2. March 3, 1995
  3.  
  4. I like using linked lists a lot because they don't hold you to arbitrary limits of storage; you don't have to worry about creating an array that's too small, limiting input, or too big, hogging up memory.  Linked lists are dynamic, taking only as much space as is necessary at a certain point.  The logic behind using them will stay pretty much the same, no matter what type of variable is being linked, so I created a generic class to accomodate any type of variable.  Actually, there are several list classes here, which I use, depending on the needs I have at any time.
  5.  
  6. Included is the source code, with more comments than I usually write, for the linked list classes, as well as for the small demo app showing a watered-down version of how I use them.  If you don't care how the various functions work, just read the header file to see how to implement them and start using them. 
  7.  
  8. Feel free to browse the code and use it any way and anywhere you want; it's in the public domain.  I've tried to comment it so newcomers to template classes could pick it up without a lot of hassle and included a brief piece on how to specifically implement template classes in Symantec C++ (I couldn't find a rock-solid source for this information, so I hope this helps others who can't it either).  The code was written and compiled on Symantec C++, v.7, but will probably work in CodeWarrior, too.
  9.  
  10. If you have any questions, comments, find any bugs, or would like to see some other type of function added, email me at MaT101@aol.com
  11.  
  12. By the way, the CDEF in the demo app is courtesy of Zig Zichterman and makes my "OK" button look pretty sharp in the about box - thanks Zig